
package ru.cod.rs.screens;

import ru.cod.rs.interfaces.Game;
import ru.cod.rs.interfaces.Graphics;
import ru.cod.rs.objects.Assets;
import ru.cod.rs.objects.Screen;

public class LoadingScreen extends Screen {
    
    public LoadingScreen(Game g) {
    
        super(g);
    }
    
    @Override
    public void update(float delta) {
    
        Graphics g = game.getGraphics();
        Assets.allyHouse = g.newBitmap("but.png");
        Assets.enemyHouse = g.newBitmap("kartinka.png");
        Assets.unit = g.newBitmap("unit.png");
        game.setScreen(new MenuScreen(game));
    }
    
    @Override
    public void render(float delta) {
    
    }
}
